<template>
  <div id="app">
    <ubutton msg="aaaaa" :attr-obj="attrObj" class="colorRed1" style="height:100%;" @change="changeHandler"></ubutton>
    <instructions></instructions>
    <HelloWorld :level="1">1111</HelloWorld>
    <HelloWorld :level="2">2222</HelloWorld>
    <HelloWorld :level="3">3333</HelloWorld>
    <HelloWorld :level="4">4444</HelloWorld>
    <img alt="Vue logo" src="./assets/logo.png">
    <test-h :level="1">111</test-h>
    <test-h :level="2">2222</test-h>

  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld'
import ubutton from "./components/ubutton";
import instructions from "./components/instructions"
export default {
  name: 'App',
  components: {
    HelloWorld,
    ubutton,
    instructions
  },
  data(){
    return {
      attrObj: {
        name:'attr',class:'text-div',style:'display:flex;'
      }
    }
  },
  methods:{
    changeHandler(val){
      console.log(val);
    }
  }
}
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.colorRed1{
  background: #f3f3f3;
}
</style>
